/*
 * $Id: $
 */
package org.rcgwt.client.ui.grid.renderer;

import org.rcgwt.client.ui.grid.internal.model.IHeaderModel;

import com.google.gwt.dom.client.Element;

/**
 * 
 * @author Olivier Oeuillot (latest modification by $Author: $)
 * @version $Revision: $ $Date: $
 */
public interface IHeaderRenderer extends IRenderer<IHeaderModel> {

    int getSize(IViewRenderContext viewRenderContext, IHeaderModel headerModel,
            Element element);

    void updateLayout(IViewRenderContext viewRenderContext,
            IHeaderModel headerModel, Element headerElement,
            int innerViewWidth, int innerViewHeight, int totalColumnWidth,
            int[] columnWidths);

    /*
     * void onScrollEvent(IViewRenderContext viewRenderContext, IHeaderModel
     * headerModel, Element element, int scrollLeft, int scrollTop);
     */
}
